package com.example.shop.pojo;

import java.time.LocalDate;

import lombok.Data;

public class UserDto extends User {
	/**
	 * 用户学历id
	 */
	private Long educationId;
	/**
	 * 用户的学位信息
	 */
	private String degree;
	/**
	 * 用户的专业信息
	 */
	private String major;
	/**
	 * 毕业院校
	 */
	private String university;
	/**
	 * 毕业年份
	 */
	private String graduationYear;
	/**
	 * 手机验证码
	 */
	private String code;
	/**
	 * 部门id
	 */
	private Long departmentId;
	/**
	 * 部门名称
	 */
	private String departmentName;
	/**
	 * 用户父类(上司)账号
	 */
	private String userParentAccount;

	/**
	 * @return the departmentId
	 */
	public Long getDepartmentId() {
		return departmentId;
	}

	/**
	 * @param departmentId the departmentId to set
	 */
	public void setDepartmentId(Long departmentId) {
		this.departmentId = departmentId;
	}

	/**
	 * @return the departmentName
	 */
	public String getDepartmentName() {
		return departmentName;
	}

	/**
	 * @param departmentName the departmentName to set
	 */
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	/**
	 * @return the userParentAccount
	 */
	public String getUserParentAccount() {
		return userParentAccount;
	}

	/**
	 * @param userParentAccount the userParentAccount to set
	 */
	public void setUserParentAccount(String userParentAccount) {
		this.userParentAccount = userParentAccount;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Long getEducationId() {
		return educationId;
	}

	public void setEducationId(Long educationId) {
		this.educationId = educationId;
	}

	public String getDegree() {
		return degree;
	}

	public void setDegree(String degree) {
		this.degree = degree;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getUniversity() {
		return university;
	}

	public void setUniversity(String university) {
		this.university = university;
	}

	public String getGraduationYear() {
		return graduationYear;
	}

	public void setGraduationYear(String graduationYear) {
		this.graduationYear = graduationYear;
	}

	@Override
	public String toString() {
		return "UserDto [educationId=" + educationId + ", degree=" + degree + ", major=" + major + ", university="
				+ university + ", graduationYear=" + graduationYear + ", code=" + code + ", departmentId="
				+ departmentId + ", departmentName=" + departmentName + ", userParentAccount=" + userParentAccount
				+ ", toString()=" + super.toString() + "]";
	}

}
